import request from './api';
import { serverUrl } from '../baseUrl.js';

function loginApi(params) {
  return request('/login', params, 'POST')
}

function uploadApi(params) {
  return request('/upload', params, 'POST')
}

function fileInfoApi(params) {
  return request('/file/info', params, 'get')
}

function appCheckApi(params) {
  return request('/app_version/check', params, 'get')
}

function UserMsgregApi(params) {
  return request('/UserMsg/reg', params, 'get')
}


export {
	loginApi,
	uploadApi,
	fileInfoApi,
	appCheckApi,
	UserMsgregApi
}